//package cn.blog.code.gateway.config;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.cloud.gateway.route.RouteLocator;
//import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//@Slf4j
//public class RouteConfig {
//
//    @Bean
//    public RouteLocator gatewayRoutes(RouteLocatorBuilder builder) {
//        log.info("开始配置路由信息");
//        return builder.routes()
//                .route(r -> r.path("/userInfo/**")
//                        .uri("http://localhost:8083/")
//                        .id("user_rote"))
//                .build();
//    }
//}
//
